export default [
  {
    path: "/user",
    layout: false,
    routes: [
      {
        path: "/user",
        routes: [
          {
            name: "login",
            path: "/user/login",
            component: "./user/Login",
          },
        ],
      },
      {
        component: "./404",
      },
    ],
  },
  {
    path: "/welcome",
    name: "自检",
    icon: "check",
    component: "./Welcome",
  },
  {
    path: "/status",
    name: "流水线状态",
    icon: "api",
    component: "./Status",
  },
  {
    path: "/reback",
    name: "返场模板",
    icon: "appstore",
    component: "./Reback",
  },
  {
    path: "/datalog",
    name: "结果显示",
    icon: "database",
    component: "./Database",
  },
  {
    path: "/",
    redirect: "/welcome",
  },
  {
    component: "./404",
  },
];
